#-------------------------------------------------
#
# Project created by QtCreator 2019-09-09T09:22:35
#
#-------------------------------------------------

QT       += core gui multimedia

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = tetris
TEMPLATE = app

CONFIG += c++20

# The following define makes your compiler emit warnings if you use
# any feature of Qt which has been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0


SOURCES += \
    src/Common/signaltransfer.cpp \
    src/Help/aboutdialog.cpp \
    src/Help/changelogdialog.cpp \
    src/Help/instrucdialog.cpp \
    src/MVC/block.cpp \
    src/MVC/blockgroup.cpp \
    src/MVC/blockgroupmove.cpp \
    src/Settings/scoreboarddialog.cpp \
    src/Settings/settingdialog.cpp \
    src/main.cpp \
    src/mainwindow.cpp \
    src/MVC/graphicsscene.cpp

HEADERS += \
    src/Common/def.h \
    src/Common/signaltransfer.h \
    src/Help/aboutdialog.h \
    src/Help/changelogdialog.h \
    src/Help/instrucdialog.h \
    src/MVC/block.h \
    src/MVC/blockgroup.h \
    src/MVC/blockgroupmove.h \
    src/Settings/scoreboarddialog.h \
    src/Settings/settingdialog.h \
    src/mainwindow.h \
    src/MVC/graphicsscene.h

PRECOMPILED_HEADER = src/stable.h

FORMS += \
        src/Help/aboutdialog.ui \
        src/Help/changelogdialog.ui \
        src/Help/instrucdialog.ui \
        src/Settings/scoreboarddialog.ui \
        src/Settings/settingdialog.ui \
        src/mainwindow.ui

RESOURCES += \
    tetris.qrc

# Add quc
INCLUDEPATH += $$PWD/third/quc/include
LIBS += -L$$PWD/third/quc/ -lquc
# LIBS += -L$$PWD/third/quc/ -lquc-static

RC_ICONS = icon.ico

DESTDIR = $$PWD/bin
